
WEEKDAY_DICT = {"周一": 1, "周二": 2, "周三": 3, "周四": 4, "周五": 5}
PERIOD_DICT = {"早8": 1, "早10": 2, "午1": 3, "午3": 4, "晚6": 5}
"""
message: 周一、周二
"""
def parseWeekday(message) -> list[int]:
    return [ WEEKDAY_DICT[msg] for msg in message.split("、")]


"""
message: 午1、晚6
"""
def parsePeriod(message) -> list[int]:
    return [ PERIOD_DICT[msg] for msg in message.split("、")]

